package com.mpyy.pojo;

import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import lombok.*;
/**
* purchase_return 实体类
* Wed Feb 23 09:47:17 CST 2022 tangneng
*/ 
@Setter
@Getter
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class PurchaseReturn{

	private String purRetId;

	private String supId;

	private String depotId;

	private Date purRetDate;

	private Double purRetRefund;

	private Double purRetRealRefund;

	private String empId;

	private String purRetComment;

	private String null1;

	private String null2;
	//供货商表实体类
	private SupplierInfo supplierInfo;

	//仓库表实体类
	private DepotInfo depotInfo;

	//员工表实体类
	private EmployeeInfo employeeInfo;
	//联合
	private String orcustNameAndId;

	public void setPurRetDate(String purRetDate) throws ParseException {
		this.purRetDate = new SimpleDateFormat("yyyy-MM-dd").parse(purRetDate);
	}

}

